import Layout from '@/layout'
const processRouter = {
  path: '/process',
  component: Layout,
  redirect: 'noRedirect',
  name: 'process',
  meta: {
    title: 'process',
    icon: 'el-icon-share'
  },
  children: [
    {
      path: 'designList',
      component: () => import('@/views/process/design/list'),
      name: 'designList',
      meta: { title: '流程设计', noCache: true }
    },
    {
      path: 'design',
      component: () => import('@/views/process/design/designFrame'),
      name: 'design',
      hidden: true,
      meta: { title: '流程设计', noCache: true }
    },
    {
      path: 'instanceList',
      component: () => import('@/views/process/instance/list'),
      name: 'instanceList',
      meta: { title: '流程列表', noCache: true }
    }
  ]
}
export default processRouter
